//
//  IMenu.h
//  XRmenu
//
//  Created by yangxh on 11-3-26.
//  Copyright 2011 E0571. All rights reserved.
//

#import <Foundation/Foundation.h>


@interface IMenu : NSObject {
	NSDate *checkInTime;
	NSInteger departmentId;
	NSInteger Id;
	NSString *menuId;
	NSString *name;
	NSInteger productsCount;
	NSInteger status;
}

@property (nonatomic, retain) NSDate *checkInTime;
@property (nonatomic, assign) NSInteger departmentId;
@property (nonatomic, assign) NSInteger Id;
@property (nonatomic, retain) NSString *menuId;
@property (nonatomic, retain) NSString *name;
@property (nonatomic, assign) NSInteger productsCount;
@property (nonatomic, assign) NSInteger status;
- (id)init;
- (id)initWithCheckInTime:(NSDate*)aCheckInTime departmentId:(NSInteger)aDepartmentId Id:(NSInteger)anId menuId:(NSString*)aMenuId name:(NSString*)aName productsCount:(NSInteger)aProductsCount status:(NSInteger)aStatus;
+ (id)objectWithCheckInTime:(NSDate*)aCheckInTime departmentId:(NSInteger)aDepartmentId Id:(NSInteger)anId menuId:(NSString*)aMenuId name:(NSString*)aName productsCount:(NSInteger)aProductsCount status:(NSInteger)aStatus;
- (NSArray *)keyPaths;

+ (IMenu *)iMenuByParse:(NSDictionary *)info;

@end
